package com.atguigu.common.exception;

import java.util.Map;

public class ExceptionCast {

    public static void exception(String msg) {
        throw new RRException(msg);
    }

    public static void exception(String msg, int code) {
        throw new RRException(msg,code);
    }
}
